﻿
namespace NClass.StubLanguage
{
	public class StubField : Core.Field
	{
		public StubField(Core.CompositeType parent) : base("newField", parent) { }

		protected override Core.Field Clone(Core.CompositeType newParent)
		{
			return new StubField(newParent);
		}

		protected override string DefaultType { get { return "object"; } }

		public override Core.Language Language { get { return StubLanguage.Instance; } }

		public override void InitFromString(string declaration)
		{
			// Do nothing
		}

		public override string GetDeclaration()
		{
			return Name;
		}
	}
}
